package com.calclab.hablar.rooms.client.settings;

import com.calclab.hablar.core.client.mvp.Display;
import com.calclab.hablar.core.client.validators.HasState;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.event.dom.client.HasKeyDownHandlers;
import com.google.gwt.user.client.ui.HasText;

public interface SetRoomDisplay extends Display {

    void addItem(SelectMediaItemDisplay itemDisplay);

    void clearList();

    SelectMediaItemDisplay createItem();
    
    HasClickHandlers getCancel();

    HasClickHandlers getConfirm();

    HasText getDescription();

    HasText getRoomName();

    HasText getRoomNameError();
    
    void setPageTitle(String text);

    void setRoomNameEnabled(boolean enabled);
    
    HasKeyDownHandlers getRoomNameKeys();
    
    HasState<Boolean> getConfirmEnabled();
}
